#ifndef __heaer_UCommon_H__
#define __heaer_UCommon_H__

#include <sys/time.h>
#include <define_time.h>          
#include "define_protocol.h"
class  UCommon
{
public:

	UCommon();
	~UCommon();
public:
static	unsigned short		BLEndianUshort(unsigned short value);

static	unsigned int			BLEndianUInt(unsigned int uiValue);
	
static unsigned short					BigSmall(NET_TCP_HEAD* memTcpHeader);
		
static	void 						GetLocalTime(SYSTEMTIME& systime);
static	void 						PrintTime();
};
	

#endif